package com.jy.api.config;

import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by xiaohua on 2019/6/14.
 */
@Component
public class WebSocketUrlUtils {


    @Value("${websocket.address}")
    private String address;



    public String getWs() {
        String url = address + "/v1/ws/set-ws";
        return url;
    }

















}
